package com.hydl.power.service;

import com.hydl.power.pojo.AlarmSet;

/**
 * @author wxb
 * @date 2020/4/17 15:32
 */
public interface AlarmSetService {

    AlarmSet selectBydeviceId(String deviceId);

    int updateAlarmSetUab(String deviceId,Integer uabClass,String uabBeginValue,String uabEndValue,Integer uabFlag);

    int updateAlarmSetUbc(String deviceId,Integer ubcClass,String ubcBeginValue,String ubcEndValue,Integer ubcFlag);

    int updateAlarmSetUca(String deviceId,Integer ucaClass,String ucaBeginValue,String ucaEndValue,Integer ucaFlag);

    int updateAlarmSetPhaseA(String deviceId,Integer phaseAClass,String phaseABeginValue,String phaseAEndValue,Integer phaseAFlag);

    int updateAlarmSetPhaseB(String deviceId,Integer phaseBClass,String phaseBBeginValue,String phaseBEndValue,Integer phaseBFlag);

    int updateAlarmSetPhaseC(String deviceId,Integer phaseCClass,String phaseCBeginValue,String phaseCEndValue,Integer phaseCFlag);

    int updateAlarmSetElectricityA(String deviceId,Integer electricityAClass,String electricityABeginValue,String electricityAEndValue,Integer electricityAFlag);

    int updateAlarmSetElectricityB(String deviceId,Integer electricityBClass,String electricityBBeginValue,String electricityBEndValue,Integer electricityBFlag);

    int updateAlarmSetElectricityC(String deviceId,Integer electricityCClass,String electricityCBeginValue,String electricityCEndValue,Integer electricityCFlag);

    int updateAlarmSetElectricA(String deviceId,Integer electricAClass,String electricABeginValue,String electricAEndValue,Integer electricAFlag);

    int updateAlarmSetElectricB(String deviceId,Integer electricBClass,String electricBBeginValue,String electricBEndValue,Integer electricBFlag);

    int updateAlarmSetElectricC(String deviceId,Integer electricCClass,String electricCBeginValue,String electricCEndValue,Integer electricCFlag);

    int updateAlarmSetDi(String deviceId,Integer diClass,Integer diFlag);

    int updateAlarmSetCommunication(String deviceId,Integer communicationClass,Integer communicationFlag);

}
